list1 = ['python','java','javaScript','php','golang']
len = len(list1)
# while循环
# i = 0
# while i <len:
#     print(list1[i])
#     i +=1

# 通过for循环找到列表中的每个元素
# for item in list1:
#     print(item)

# 通过for循环遍历字符串中的每个元素
str1 = 'fcsdfdsfdsfsdf'
for item in str1:
    print(item)
